from beamsearch_solution import beam_solution
from astar_solution      import astar_solution
from problems            import *
from heuristics          import *
import matplotlib.pyplot as     plt
import matplotlib
from numpy               import arange 
from test_runner import runtest
import graphic_problems_2

""" 
testing beamsearch one problem, with different beam sizes
"""

beams = [5,10,15,20,30]
algos = []

for beam in beams:
    algos.append(beam_solution(scaled_manhattan_dirt(10), beam))

#runtest(algos, test_parm = 'time', title = 'beam test 1', problem_sets = graphic_problems_2.three_sets())
runtest(algos, test_parm = 'rate', title = 'beam test 2 - testing success rates', problem_sets = graphic_problems_2.three_sets())



        
    